//
//  XMGTestViewController.m
//  百思不得姐
//
//  Created by 杨庆 on 2016/12/30.
//  Copyright © 2016年 杨庆. All rights reserved.
//

#import "XMGTestViewController.h"

@interface XMGTestViewController ()

@end

@implementation XMGTestViewController


- (void)viewDidLoad {
	[super viewDidLoad];
	self.navigationItem.title =@"杨庆是大帅哥,王骞是美女";
	self.view.backgroundColor =[UIColor orangeColor];
	
	}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
	UIViewController*vc=[[UIViewController alloc]init];
	vc.view.backgroundColor=[UIColor greenColor];
	[self.navigationController pushViewController:vc animated:YES];
}

@end
